<template>
  <div>
    <tarbar>
      <tarbaritem path="/home" colorr="red">
        <template v-slot:item-png>
          <img src="@/assets/img/2.png" alt="" />
        </template>
        <template v-slot:item-png1>
          <img src="@/assets/img/1.png" alt="" />
        </template>
        <template v-slot:item-text>
          <div>首页</div>
        </template>
      </tarbaritem>
      <tarbaritem path="/classification" colorr="red">
        <template v-slot:item-png>
          <img src="@/assets/img/4.png" alt="" />
        </template>
        <template v-slot:item-png1>
          <img src="@/assets/img/3.png" alt="" />
        </template>
        <template v-slot:item-text>
          <div>分类</div>
        </template>
      </tarbaritem>
      <tarbaritem path="/cat" colorr="red">
        <template v-slot:item-png>
          <img src="@/assets/img/6.png" alt="" />
        </template>
        <template v-slot:item-png1>
          <img src="@/assets/img/5.png" alt="" />
        </template>
        <template v-slot:item-text>
          <div>购物车</div>
        </template>
      </tarbaritem>
      <tarbaritem path="/profile" colorr="red">
        <template v-slot:item-png>
          <img src="@/assets/img/8.png" alt="" />
        </template>
        <template v-slot:item-png1>
          <img src="@/assets/img/7.png" alt="" />
        </template>
        <template v-slot:item-text>
          <div>我的</div>
        </template>
      </tarbaritem>
    </tarbar>
  </div>
</template>
<script>
import tarbar from "@/components/common/tarbar/tarbar";
import tarbaritem from "@/components/common/tarbar/tarbar_item";

export default {
  components: {
    tarbar,
    tarbaritem,
  },
};
</script>